package com.cbs.module.social.ui.discussion.test;

import com.cbs.application.CBSApplication;
import com.cbs.applicationutils.Global;
import com.cbs.log.L;
import com.cbs.module.social.ui.discussion.DiscussionModule;
import com.cbs.module.user.UserModule;
import com.cbs.module.user.ui.UISetting;
import com.cbs.module.user.ui.UserModuleUI;
import com.cbs.ui.toast.Toast;

/**
 * Created by broche on 11/18/15.
 */
public class MyApplication extends CBSApplication {
    @Override
    public void onCreate() {
        super.onCreate();
        L.LOG_LEVEL = L.DEBUG;
        Global.init(this);
        Global.setServerHost("http://192.168.58.12:82");
        Global.getHttpClient().setDebug(true);
        Global.setAppId(1);
        Toast.init(this);

        UserModule.init(this);
        UserModuleUI.init(new UISetting());

        DiscussionModule.setDebug(true);
    }
}
